package com.alorma.views;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.TextView;

public class CustomtextView extends TextView {

	public CustomtextView(Context context) {
		super(context);
		this.isInEditMode();
	}
	
	public CustomtextView(Context context, AttributeSet attrs) {
		super(context, attrs);
		this.isInEditMode();
	}
	
	public CustomtextView(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
		this.isInEditMode();
	}
	
	public void append(String newString) {
		String txt = this.getText().toString();

		txt += newString;
		
		this.setText(txt);
	}
	

	
	public void append(String newString, String separator) {
		String txt = this.getText().toString();

		txt += separator + newString;
		
		this.setText(txt);
	}

}
